package com.cn.kabalifeuser.ui.integral.bean;

import java.util.List;

/**
 * Created by 晓林 on 2020/9/21.
 * function:
 */
public class CommodityCommentListBean {


    /**
     * code : 200
     * result : {"data":[{"id":1,"good_id":2,"good_title":"商品1","good_img":"good/1599622436O3stgU.png","spec_key":"黑色","uid":1,"order_id":10,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png","fraction":5,"content":"好","img":["http://oss-fang.xiaoxiucai.xyz/good/1599622436O3stgU.png","http://oss-fang.xiaoxiucai.xyz/good/1599622436O3stgU.png"],"status":1,"created_at":"2020-09-14","updated_at":"2020-09-14 14:56:58"}],"count":1}
     * msg : ok
     */

    private int code;
    private ResultBean result;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class ResultBean {
        /**
         * data : [{"id":1,"good_id":2,"good_title":"商品1","good_img":"good/1599622436O3stgU.png","spec_key":"黑色","uid":1,"order_id":10,"nickname":"小菜刀","head":"http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png","fraction":5,"content":"好","img":["http://oss-fang.xiaoxiucai.xyz/good/1599622436O3stgU.png","http://oss-fang.xiaoxiucai.xyz/good/1599622436O3stgU.png"],"status":1,"created_at":"2020-09-14","updated_at":"2020-09-14 14:56:58"}]
         * count : 1
         */

        private int count;
        private List<DataBean> data;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 1
             * good_id : 2
             * good_title : 商品1
             * good_img : good/1599622436O3stgU.png
             * spec_key : 黑色
             * uid : 1
             * order_id : 10
             * nickname : 小菜刀
             * head : http://oss-fang.xiaoxiucai.xyz/user/1598259228WUHyw2.png
             * fraction : 5
             * content : 好
             * img : ["http://oss-fang.xiaoxiucai.xyz/good/1599622436O3stgU.png","http://oss-fang.xiaoxiucai.xyz/good/1599622436O3stgU.png"]
             * status : 1
             * created_at : 2020-09-14
             * updated_at : 2020-09-14 14:56:58
             */

            private int id;
            private int good_id;
            private String good_title;
            private String good_img;
            private String spec_key;
            private int uid;
            private int order_id;
            private String nickname;
            private String head;
            private String fraction;
            private String content;
            private int status;
            private String created_at;
            private String updated_at;
            private List<String> img;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getGood_id() {
                return good_id;
            }

            public void setGood_id(int good_id) {
                this.good_id = good_id;
            }

            public String getGood_title() {
                return good_title;
            }

            public void setGood_title(String good_title) {
                this.good_title = good_title;
            }

            public String getGood_img() {
                return good_img;
            }

            public void setGood_img(String good_img) {
                this.good_img = good_img;
            }

            public String getSpec_key() {
                return spec_key;
            }

            public void setSpec_key(String spec_key) {
                this.spec_key = spec_key;
            }

            public int getUid() {
                return uid;
            }

            public void setUid(int uid) {
                this.uid = uid;
            }

            public int getOrder_id() {
                return order_id;
            }

            public void setOrder_id(int order_id) {
                this.order_id = order_id;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getHead() {
                return head;
            }

            public void setHead(String head) {
                this.head = head;
            }

            public String getFraction() {
                return fraction;
            }

            public void setFraction(String fraction) {
                this.fraction = fraction;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public List<String> getImg() {
                return img;
            }

            public void setImg(List<String> img) {
                this.img = img;
            }
        }
    }
}
